<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
*/

/**
 * Description of Reservation
 *
 * @author Ngozi Ihemelandu
 */
class Reservation {

    protected $ReservationID,
              $ResourceID,
              $ResourceName,
              $StartDate,
              $EndDate,
              $UserID,
              $Username,
              $ReOccurrenceID,
              $StopDate;

    public function __construct() {

    }

    public function setAllfields($iReservationID,
                           $iResourceID,
                           $iResourceName,
                           $iStartDate,
                           $iEndDate,
                           $iUserID,
                           $iUsername,
                           $iReOccurrenceID,
                           $iStopDate)
    {
        $this->ReservationID = $iReservationID;
        $this->ResourceID = $iResourceID;
        $this->ResourceName = $iResourceName;
        $this->StartDate = $iStartDate;
        $this->EndDate = $iEndDate;
        $this->UserID = $iUserID;
        $this->Username = $iUsername;
        $this->ReOccurrenceID = $iReOccurrenceID;
        $this->StopDate = $iStopDate;

    }
    public function setReservationID($ReservationID) {
        $this->ReservationID = $ReservationID;
    }
    public function setResourceID($iResourceID) {
        $this->ResourceID = $iResourceID;
    }
    public function setResourceName($iResourceName) {
        $this->ResourceName = $iResourceName;
    }

    public function setStartDate($iStartDate) {
        $this->StartDate = $iStartDate;
    }
    public function setEndDate($iEndDate) {
        $this->EndDate = $iEndDate;
    }
    public function setUserID($iUserID) {
        $this->UserID = $iUserID;
    }
    public function setUsername($iUsername) {
        $this->Username = $iUsername;
    }

    public function setReOccurrenceID($iReOccurrenceID) {
        $this->ReOccurrenceID = $iReOccurrenceID;
    }
    public function setStopDate($iStopDate) {
        $this->StopDate = $iStopDate;
    }

    public function getReservationID() {
        return $this->ReservationID;
    }
    public function getResourceID() {
        return $this->ResourceID;
    }
    public function getResourceName() {
        return $this->ResourceName;
    }

    public  function getStartDate() {
        return $this->StartDate;
    }
    public function getEndDate() {
        return $this->EndDate;
    }
    public function getUserID() {
        return $this->UserID;
    }
    public function getUsername() {
        return $this->Username;
    }

    public function getReOccurrenceID() {
        return $this->ReOccurrenceID;
    }
    public function getStopDate() {
        return $this->StopDate;
    }
}
?>
